import { request } from '../request.js'

// 申请接口
const INDEX = {
  // 列表数据: 资产编号
  getAssetsNumByDepart: param => request('agree/getAssetsNumByDepart', param),
  // 审批流程的具体人员
  getAgreeDepartMessage: param => request('agree/getAgreeDepartMessage', param),
  // 上传文件 调用上传接口
  addWenjian: param => request('agree/addWenjian', param),
  // 新增申请
  addAgreeNew: param => request('agree/addAgreeNew', param),
  // 获取资产编号树形结构 POST /agree/getAssetsTree
  getAssetsTree: param => request('agree/getAssetsTree', param)
}

export default INDEX
